import { History } from 'history';
import { connectedRouter } from 'connected-react-router';

import userList from './userList';
import userData from './userData';

export default (history: History) => ({
    userList,
    userData,
    router: connectedRouter(history) as any,
}) 